<?php if ($title): ?>
<h1><?php print $title ?></h1>
<?php else: ?>
<h1><?php print t('new_title') ?></h1>
<?php endif; ?>

<br />

<form method="post">

<b><?php print t('new_nickname') ?>:</b><br />
<input type="text" name="nickname" value="<?php print $nickname ?>" size="20" maxlength="17" />
<input type="checkbox" name="cookie" <?php if ($nickname): ?>checked="checked"<?php endif; ?> /> <?php print t('new_saveoncookie') ?><br />

<br />

<b><?php print t('new_lang') ?>:</b><br>
<select name="lang">
<?php foreach($geshi_langs as $k => $v): ?>
  <option value="<?php print $k ?>" <?php if ($geshi_selected == $k): ?>selected="selected"<?php endif; ?>><?php print $v ?></option>
<?php endforeach; ?>
</select>

<br /><br />

<b><?php print t('new_code') ?>:</b><br />
<textarea name="code" cols="70" rows="10"><?php print $paste['code'] ?></textarea>

<br /><br />

<input type="hidden" name="action" value="savePaste" />

<?php if ($show_captcha): ?>
<img src="<?php print url('captcha') ?>" align="absmiddle" />
<input type="text" name="captcha" size="8" />
<?php endif; ?>

<input type="submit" name="do" value="  <?php print t('new_send') ?>  " />

</form>
